#ifndef QTCELLSPRITE_H
#define QTCELLSPRITE_H

#include "QtPixmapSprite.h"
#include "Resourceable.h"

class QtCellSprite: public QtPixmapSprite, public Resourceable
{
public:
	QtCellSprite(QtSprite *parent = 0);
	~QtCellSprite();

	void SetBackground(const QPixmap& background);
	QtPixmapSprite* Background() const;

protected:	

	virtual void BackgroundUpdated();
private:
	QtPixmapSprite *bg;
};

#endif //QTCELLSPRITE_H